FROM node:18.13.0

WORKDIR /app

COPY * ./

RUN npm install
RUN npm install pm2 -g

EXPOSE 3000

CMD ["/app/pm2 start ecosystem.config.js"]
